﻿using System;
using System.Collections.Generic;

namespace QG.FrontDesk.Model
{
    public class TypeInfo
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public TypeInfo()
        {
            this.Pictureinfo = new HashSet<PictureInfo>();
        }
        [System.ComponentModel.DataAnnotations.Key]
        public int TypeId { get; set; }
        public string TypeName { get; set; }
        public Nullable<bool> Status { get; set; }
        public string Remark { get; set; }
        public System.DateTime CreateTime { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<PictureInfo> Pictureinfo { get; set; }

    }
}
